package com.wobito.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wobito.mapper.ManagerMapper;
import com.wobito.pojo.bean.Manager;
import com.wobito.service.IManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lambyang
 * @since 2024-09-05
 */
@Service
public class ManagerServiceImpl extends ServiceImpl<ManagerMapper, Manager> implements IManagerService {

    @Autowired
    private ManagerMapper managerMapper;
    @Override
    public int selectManagerByCode(String code) {
        return managerMapper.selectManagerByCode(code);
    }
}
